package com.fcscs.cservice.domain;

import java.util.Date;

import com.fcscs.core.domain.HistoricalEntity;
import com.fcscs.cservice.common.CServiceCommonEnums.FolioStatus;

public class Folio extends HistoricalEntity {
	private static final long serialVersionUID = 5617261217728638107L;

	private String folioNo;
	private long reservationId;
	private long guestProfileId;
	private long paymethodId;
	private Date guestSignatureDateTime;
	private FolioStatus status;
	private String remarks;

	public Folio() {
	}

	public long getReservationId() {
		return this.reservationId;
	}

	public void setReservationId(long reservationId) {
		this.reservationId = reservationId;
	}

	public void setGuestProfileId(long guestProfileId) {
		this.guestProfileId = guestProfileId;
	}

	public long getGuestProfileId() {
		return guestProfileId;
	}

	public long getPaymethodId() {
		return this.paymethodId;
	}

	public void setPaymethodId(long paymethodId) {
		this.paymethodId = paymethodId;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public void setGuestSignatureDateTime(Date guestSignatureDateTime) {
		this.guestSignatureDateTime = guestSignatureDateTime;
	}

	public Date getGuestSignatureDateTime() {
		return guestSignatureDateTime;
	}

	@Override
	public DBLoc getDBLoc() {
		return DBLoc.GUEST;
	}

	public void setFolioNo(String folioNo) {
		this.folioNo = folioNo;
	}

	public String getFolioNo() {
		return folioNo;
	}

	public String getStatus() {
		return status == null ? null : status.toString();
	}

	public void setStatus(String status) {
		this.status = status == null ? null : FolioStatus.valueOf(status);
	}

	public FolioStatus getStatusEnum() {
		return status;
	}

	public void setStatusEnum(FolioStatus status) {
		this.status = status;
	}
}
